package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.Saving;

/**
 * Service for Saving logic
 * 
 * @author Fernand Perelli
 * 
 */
public interface SavingService {

	/**
	 * Save method
	 * 
	 * @param saving
	 * @return Saving
	 */
	public Saving save(Saving saving);

	/**
	 * Update method
	 * 
	 * @param saving
	 */
	public void update(Saving saving);

	/**
	 * Delete method
	 * 
	 * @param saving
	 */
	public void delete(Saving saving);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return Saving
	 */
	public Saving findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<Saving>
	 */
	public Collection<Saving> findAll();
}
